﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="QingZhouLinYe_Web.Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <script type="text/javascript" src="HtmlCss/jquery-3.7.1.min.js"></script>
    <link type="text/css" rel="styleSheet" href="HtmlCss/MyStyle.css" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript" src="HtmlCss/BaseJavaScript.js"></script>
    <title></title>
    <style>
        body {
            background: url(../Images/loginbackgroung.jpg) no-repeat;
            background-size: 100% 130%;
            font-family: SimSun;
            font-size: 12px;
            color: darkgray;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <!--
     1、用户登录
        默认用户名：admin，初始密码：admin
     2、检测登录用户是否是admin，用户密码是否是admin
        是，弹出更改用户名和密码页面
        否，进入主页面（index.html）
        -->

        <div id="login_box">
            <h2>青州林业护林防火智慧平台</h2>
            <div id="input_box">
                登录用户：<br />
                <asp:TextBox ID="username" CssClass="textbox" runat="server" placeholder="请输入用户名"></asp:TextBox>
            </div>
            <div class="input_box">
                用户密码：<br />
                <asp:TextBox ID="password" CssClass="textbox" runat="server" placeholder="请输入密码"></asp:TextBox>
            </div>
            <br />
            <asp:Button ID="loginbutton" CssClass="button" runat="server" Text="登录" OnClick="loginbutton_Click" />
            <br />
            <asp:Label ID="MsgLabel" CssClass="warn-redmsg-label" runat="server" Text=""></asp:Label>
        </div>
    </form>
    <script>
        //隐藏浏览器滚动条
        document.documentElement.style.overflowX = 'hidden';
        document.documentElement.style.overflowY = 'hidden';
    </script>
</body>
</html>
